<!---总览页面真实内容-->
<template>
  <div class="ele-body">
    <a-tabs default-active-key="1" @change="callbackActivityTab">
      <a-tab-pane key="1" tab="数据监控">
        <device-drinkstation-monitor :data="data" />
      </a-tab-pane>

      <a-tab-pane key="2" tab="历史数据">
        <device-drinkstation-data :data="data" />
      </a-tab-pane>

      <a-tab-pane key="3" tab="告警数据">
        <device-drinkstation-warn-data :data="data" />
      </a-tab-pane>

      <a-tab-pane key="4" tab="配置">
        <device-drinkstation-config-other :data="data" />
      </a-tab-pane>

      <a-tab-pane key="5" tab="推送记录">
        <device-drinkstation-config-queue :data="data" />
      </a-tab-pane>
    </a-tabs>
  </div>
</template>

<script>
import DeviceDrinkstationMonitor from './drinkingstation-monitor.vue'
import DeviceDrinkstationData from  './drinkingstation-data.vue'
import DeviceDrinkstationWarnData from './drinkingstation-warn-data.vue'
import DeviceDrinkstationConfigOther from './drinkingstation-config-other.vue'
import DeviceDrinkstationConfigQueue from './drinkingstation-config-queue.vue'
export default {
  name: 'DeviceDrinkstation',
  components: {
    DeviceDrinkstationData,
    DeviceDrinkstationMonitor,
    DeviceDrinkstationWarnData,
    DeviceDrinkstationConfigOther,
    DeviceDrinkstationConfigQueue
  },
  props: {
    data: Object
  },
  data() {
    return {


    };
  },
  methods: {
    callbackActivityTab (index) {
      console.log(index)
    },
  }
};
</script>
